<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>openconnect</Name>
        <Homepage>http://www.infradead.org/openconnect.html</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>LGPLv2+</License>
        <IsA>app:console</IsA>
        <Summary>A client for Cisco's AnyConnect VPN, which uses HTTPS and DTLS protocols</Summary>
        <Description>openconnect provides the core HTTP and authentication support from the OpenConnect VPN client, to be used by GUI authentication dialogs for NetworkManager etc.</Description>
        <Archive sha1sum="5518304b35d865bea3ea6cf927fa0e0e4dd5f08a" type="targz">https://www.infradead.org/openconnect/download/openconnect-8.20.tar.gz</Archive>
        <BuildDependencies>
            <!--<Dependency>libtomcrypt</Dependency>-->
<!--             <Dependency>stoken-devel</Dependency> -->
            <Dependency>libproxy-devel</Dependency>
            <Dependency>intltool</Dependency>
            <Dependency>lz4-devel</Dependency>
            <Dependency>python3-devel</Dependency>
            <Dependency>openssl-devel</Dependency>
            <Dependency>libxml2-devel</Dependency>
            <Dependency>zlib-devel</Dependency>
            <Dependency>mit-kerberos</Dependency>
            <Dependency>gnutls-devel</Dependency>
            <Dependency>p11-kit-devel</Dependency>
            <Dependency>e2fsprogs-devel</Dependency>
            <Dependency>pcsc-lite-devel</Dependency>
            <Dependency>tpm2-tss-devel</Dependency>
            <Dependency>webkit2gtk-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <!--<Patch level="1">configure.ac.patch</Patch>-->
        </Patches>
    </Source>

    <Package>
        <Name>openconnect</Name>
        <RuntimeDependencies>
            <Dependency>lz4</Dependency>
            <Dependency>zlib</Dependency>
            <Dependency>libxml2</Dependency>
            <Dependency>openssl</Dependency>
            <Dependency>mit-kerberos</Dependency>
            <Dependency>gnutls</Dependency>
            <Dependency>p11-kit</Dependency>
            <Dependency>e2fsprogs</Dependency>
            <Dependency>bash-completion</Dependency>
            <Dependency>libproxy</Dependency>
            <Dependency>pcsc-lite</Dependency>
            <Dependency>tpm2-tss</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin/openconnect</Path>
            <Path fileType="executable">/usr/libexec/openconnect</Path>
            <Path fileType="man">/usr/share/man/man8</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="localedata">/usr/share/locale</Path>
            <Path fileType="executable">/usr/sbin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="data">/usr/share/bash-completion/completions/openconnect</Path>
        </Files>
    </Package>

    <Package>
        <Name>openconnect-devel</Name>
        <Summary>Development files and headers for openconnect</Summary>
        <RuntimeDependencies>
            <!--<Dependency>stoken</Dependency>-->
            <Dependency>lz4-devel</Dependency>
            <Dependency>zlib-devel</Dependency>
            <Dependency>p11-kit-devel</Dependency>
            <Dependency>gnutls-devel</Dependency>
            <Dependency>openssl-devel</Dependency>
            <Dependency>libxml2-devel</Dependency>
            <Dependency>libproxy-devel</Dependency>
            <Dependency>pcsc-lite-devel</Dependency>
            <Dependency release="current">openconnect</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
        </Files>
    </Package>

    <History>
        <Update release="7">
            <Date>2023-01-19</Date>
            <Version>8.20</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="6">
            <Date>2021-07-02</Date>
            <Version>8.10</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="5">
            <Date>2020-04-08</Date>
            <Version>8.05</Version>
            <Comment>Version bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="4">
            <Date>2018-08-15</Date>
            <Version>7.08</Version>
            <Comment>Rebuild</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2017-03-02</Date>
            <Version>7.08</Version>
            <Comment>Version Bump</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>7.06</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2015-08-15</Date>
            <Version>7.06</Version>
            <Comment>First release</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
